﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for SortEmpsByID
/// </summary>
public class SortEmpsByID : IComparer<Employee>
{
    public int Compare(Employee com1, Employee com2)
    {
        return (com1.EmpID < com2.EmpID) ? 1 : ((com1.EmpID > com2.EmpID) ? -1 : 0);
    }
}